'''
要求是不能直接字符串转整数
对于Python考察的点可以换成ord
'''


class Solution:
    def multiply(self, num1: str, num2: str) -> str:
        def str2num(num):
            count = len(num) - 1
            res = 0
            for i in num:
                # 0 的ascii就是48
                res += (ord(i)-48)*(10**count)
                count -= 1
            return res
        return str(str2num(num1)*str2num(num2))